const obj1 = {
  age: 18,
  name: 'alvin',
  gender: 'male'
}

console.log(Object.getOwnPropertyNames(obj1));
// console.log(Object.getOwnPropertyNames(Object));
// console.log(Object.getOwnPropertySymbols(Object));
console.log(Object.keys(Object));